package com.zyg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zyg.dao.StudentMapper;
import com.zyg.pojo.EchartsData;
import com.zyg.pojo.Student;
import com.zyg.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("studentService")
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {


    @Autowired
    private StudentMapper studentMapper;
    public List<EchartsData> getClassIndexData() {
        return studentMapper.getClassIndexData();
    }
    public List<EchartsData> getAddressIndexData() {
        return studentMapper.getAddressIndexData();
    }
    public List<EchartsData> getHotelIndexData() {
        return studentMapper.getHotelIndexData();
    }
}
